﻿<%@ Page Title="发表留言" Language="C#" AutoEventWireup="true" CodeBehind="LeaveWord.aspx.cs" Inherits="Gmis.Web.UI.LeaveWord"
    MasterPageFile="~/UI/MainMasterPage.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="_head" runat="server">
    <style type="text/css">
        .css
        {
            font-size: 9pt;
            line-height: 8mm;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <table width="75%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#96be78"
            class="css">
            <tr align="center" bgcolor="#e4ecd2">
                <td height="30" colspan="2" class="css">
                    <strong><font color="#ff0000">发表我的留言</font></strong><font color="#666666">（带*为必填项）</font>
                </td>
            </tr>
            <tr bgcolor="#e4ecd2">
                <td width="22%" align="center">
                    留言标题：
                </td>
                <td width="78%">
                    <asp:TextBox ID="txtTitle" runat="server" Width="224px" MaxLength="50" Height="20"></asp:TextBox><font
                        color="#ff3333">&nbsp;*&nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入您留给我的主题吧"
                            ControlToValidate="txtTitle"></asp:RequiredFieldValidator></font>
                </td>
            </tr>
            <tr bgcolor="#e4ecd2">
                <td align="center">
                    手机号码：
                </td>
                <td>
                    <asp:TextBox ID="txtphone" runat="server" Width="224px" MaxLength="50" Height="20"></asp:TextBox>
                </td>
            </tr>
            
            <tr bgcolor="#e4ecd2">
                <td align="center">
                    留言人：
                </td>
                <td>
                    <asp:TextBox ID="txtleaveWordPerson" runat="server" Width="224px" MaxLength="50" Height="20"></asp:TextBox>
                    
                </td>
            </tr>
            <tr bgcolor="#e4ecd2">
                <td align="center">
                    其它联系方式：
                </td>
                <td>
                    <asp:TextBox ID="txtcontactForm" runat="server" Width="224px" MaxLength="50" Height="20"></asp:TextBox>
                </td>
            </tr>
            <tr bgcolor="#e4ecd2">
                <td align="center" style="height: 154px">
                    留言内容：
                </td>
                <td style="height: 154px">
                    <asp:TextBox ID="txtcontents" runat="server" Width="328px" TextMode="MultiLine" Height="135px"></asp:TextBox><font
                        color="#ff3333">&nbsp;*&nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="还是说两句吧"
                            ControlToValidate="txtcontents"></asp:RequiredFieldValidator></font>
                </td>
            </tr>
            <tr align="center" bgcolor="#e4ecd2">
                <td height="60" colspan="2">
                    <asp:Button ID="Button1" runat="server" Text="提交留言" onclick="Button1_Click"></asp:Button>&nbsp;
                    <input id="Reset1" type="reset" value="清除留言" name="Reset1">
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
